<?php
declare (strict_types = 1);

namespace app\admin\validate;

use think\Validate;

class Version extends Validate
{
    /**
     * 定义验证规则
     * 格式：'字段名'	=>	['规则1','规则2'...]
     *
     * @var array
     */	
	protected $rule = [
        "type|类型" => "require",
        "content|更新内容" => "require",
        "down_url|下载地址" => "require",
        "version_no|版本号" => "require",
    ];
    
}
